package com.chixing.work_09;

public class Coupon {
    public static void main(String[] args) {
        String temp = "1Ct3r4ip_ti4C6k9Et^";
        String a = "";
        for(int i =0;i<temp.length();i++){
            if (temp.charAt(i)>='0'&&temp.charAt(i)<='9') {
                continue;
            }
            a = a.concat(String.valueOf(temp.charAt(i)));

        }
        System.out.println(a);








        String aaa = "shakdjSHJKAHDssdhk";
        System.out.println(aaa.toUpperCase());
        System.out.println(aaa.toLowerCase());
        System.out.println(aaa.charAt(0));
        for (int i=0;i<aaa.length();i++){
            System.out.println(aaa.charAt(i));
        }
        System.out.println(aaa.length());
        System.out.println(aaa.concat("aaa"));
        System.out.println(aaa.replaceAll("a","Z"));
        System.out.println(aaa.indexOf("a"));
        String bbb = "clone-finalize-getClass-notify-notifyAll-wait";
        String[] ccc = bbb.split("-");
        for (String s : ccc) {
            System.out.println(s);
        }
        System.out.println(String.valueOf(76));
        System.out.println(String.valueOf(57.8));

    }
}
